//
//  AccountSettingViewController.h
//  CPICMobileServiceApp
//
//  Created by sinosoft on 13-3-3.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SinaWeibo.h"
#import "SinaWeiboRequest.h"
#import <TencentOpenAPI/TencentOAuth.h>
#import "MBProgressHUD.h"
@class DrawCode;

@interface AccountSettingViewController : UIViewController<UITextFieldDelegate,UITableViewDataSource,UITableViewDelegate,SinaWeiboDelegate, SinaWeiboRequestDelegate,TencentSessionDelegate>
{
     DrawCode *mainview;
     UILabel *lable1;
     UILabel *lable2;
     UILabel *lable3;
     UILabel *lable4;
    int number;
    NSMutableArray *pointArray;
    
    BOOL showProgress;
    MBProgressHUD* progress;
    
    UIButton *btnRegister;
    UIButton *btnAuthorize;
    
    //sinaweibo
    NSDictionary *userInfo;
    NSArray *statuses;
    NSString *postStatusText;
    NSString *postImageStatusText;
    //sinaweibo
    
    //qq
    TencentOAuth* _tencentOAuth;
    NSMutableArray* _permissions;
    NSString *QQAccessToken;
    //qq
}

@property(nonatomic,retain)UITableView *TableViewUser;
@property(nonatomic,retain)UITextField *txtUserAccount;
@property(nonatomic,retain)UITextField *txtUserPassword;
@property(nonatomic,retain)UITextField *txtCodeIden;
@property(nonatomic,retain)UIImageView *imgAccount;
@property(nonatomic,retain)NSString *QQopenId;
@property(nonatomic,retain)UIButton *btnRegister;

@property(nonatomic)BOOL sinaAccount;
@property(nonatomic)BOOL qqAccount;
-(void)setSinaItemTitle;
-(void)setQQItemTitle;
-(void)setBindCheckRequest;//向太保移动平台发送请求报文
@end
